package o;

import android.app.Notification;
import android.app.NotificationManager;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.widget.RemoteViews;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

public class zy extends zw<Bitmap> {
    private final int ʽ;
    private final String ˊ;
    private final Context ˋ;
    private final RemoteViews ˎ;
    private final int ˏ;
    private final Notification ॱ;

    public /* synthetic */ void onResourceReady(@NonNull Object obj, @Nullable aaf o_aaf) {
        ˊ((Bitmap) obj, o_aaf);
    }

    public zy(Context context, int i, RemoteViews remoteViews, Notification notification, int i2) {
        this(context, i, remoteViews, notification, i2, null);
    }

    public zy(Context context, int i, RemoteViews remoteViews, Notification notification, int i2, String str) {
        this(context, Integer.MIN_VALUE, Integer.MIN_VALUE, i, remoteViews, notification, i2, str);
    }

    public zy(Context context, int i, int i2, int i3, RemoteViews remoteViews, Notification notification, int i4, String str) {
        super(i, i2);
        this.ˋ = (Context) aas.ˋ(context, "Context must not be null!");
        this.ॱ = (Notification) aas.ˋ(notification, "Notification object can not be null!");
        this.ˎ = (RemoteViews) aas.ˋ(remoteViews, "RemoteViews object can not be null!");
        this.ʽ = i3;
        this.ˏ = i4;
        this.ˊ = str;
    }

    private void ˎ() {
        ((NotificationManager) aas.ˎ((NotificationManager) this.ˋ.getSystemService("notification"))).notify(this.ˊ, this.ˏ, this.ॱ);
    }

    public void ˊ(@NonNull Bitmap bitmap, @Nullable aaf<? super Bitmap> o_aaf__super_android_graphics_Bitmap) {
        ˋ(bitmap);
    }

    public void onLoadCleared(@Nullable Drawable drawable) {
        ˋ(null);
    }

    private void ˋ(@Nullable Bitmap bitmap) {
        this.ˎ.setImageViewBitmap(this.ʽ, bitmap);
        ˎ();
    }
}
